package com.rybbaby.tss.core.utils.pojo;

/**
 * @author 谢进伟
 * @description 文件树基本信息
 * @createDate 2016年2月11日 上午11:49:05
 */
public class TreeFile {
	
	/**
	 * 文件唯一标识
	 **/
	protected String uuid;
	/**
	 * 文件目录唯一标识
	 **/
	protected String dirUUID;
	/**
	 * 目录路径
	 **/
	protected String dirPath;
	/**
	 * 文件路径
	 **/
	protected String path;
	/**
	 * 文件名称
	 **/
	protected String name;
	/**
	 * 是否是目录
	 **/
	protected boolean isDirectory;
	/**
	 * 图片文件尺寸
	 **/
	protected Size size;
	
	/** 是否为缩略文件 **/
	protected boolean isThumbnail;
	
	public TreeFile(String uuid , String dirUUID , String dirPath , String path , String name , boolean isDirectory , Size size , boolean isThumbnail ){
		this(uuid , dirUUID , dirPath , path , isDirectory);
		this.size = size;
		this.name = name;
		this.isThumbnail = isThumbnail;
	}
	
	public TreeFile(String uuid , String dirUUID , String dirPath , String path , boolean isDirectory ){
		super();
		this.uuid = uuid;
		this.dirUUID = dirUUID;
		this.dirPath = dirPath;
		this.path = path;
		this.isDirectory = isDirectory;
	}
	
	/**
	 * @return the uuid
	 */
	public String getUuid() {
		return uuid;
	}
	
	/**
	 * @param uuid
	 *            the uuid to set
	 */
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	
	/**
	 * @return the dirUUID
	 */
	public String getDirUUID() {
		return dirUUID;
	}
	
	/**
	 * @param dirUUID
	 *            the dirUUID to set
	 */
	public void setDirUUID(String dirUUID) {
		this.dirUUID = dirUUID;
	}
	
	/**
	 * @return the dirPath
	 */
	public String getDirPath() {
		return dirPath;
	}
	
	/**
	 * @param dirPath
	 *            the dirPath to set
	 */
	public void setDirPath(String dirPath) {
		this.dirPath = dirPath;
	}
	
	/**
	 * @return the path
	 */
	public String getPath() {
		return path;
	}
	
	/**
	 * @param path
	 *            the path to set
	 */
	public void setPath(String path) {
		this.path = path;
	}
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	/**
	 * @return the isDirectory
	 */
	public boolean isDirectory() {
		return isDirectory;
	}
	
	/**
	 * @param isDirectory
	 *            the isDirectory to set
	 */
	public void setDirectory(boolean isDirectory) {
		this.isDirectory = isDirectory;
	}
	
	/**
	 * @return 图片文件大小
	 */
	public Size getSize() {
		return size;
	}
	
	/**
	 * @param size
	 *            图片文件大小
	 */
	public void setSize(Size size) {
		this.size = size;
	}
	
	/**
	 * @return 是否为缩略文件
	 */
	public boolean isThumbnail() {
		return isThumbnail;
	}
	
	/**
	 * @param isThumbnail
	 *            是否为缩略文件
	 */
	public void setThumbnail(boolean isThumbnail) {
		this.isThumbnail = isThumbnail;
	}
	
}
